<html>
<head>
<title>eLGU - {TITLE}</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="../css/elgu.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>


<script language="Javascript">
 barangay = new Array();
 district = new Array();
 municipalityCity = new Array();
<!-- BEGIN JSBarangayList -->
 barangay[{i}] = new Array('{barangay}', '{barangayID}', '{districtID}');
<!-- END JSBarangayList -->
<!-- BEGIN JSDistrictList -->
 district[{i}] = new Array('{district}', '{districtID}', '{municipalityCityID}');
<!-- END JSDistrictList -->
<!-- BEGIN JSMunicipalityCityList -->
 municipalityCity[{i}] = new Array('{municipalityCity}', '{municipalityCityID}', '{provinceID}');
<!-- END JSMunicipalityCityList -->

function filterBarangayList(){
	ClearList(document.AssessmentRollReport.barangay);
    FillList(document.AssessmentRollReport.barangay, barangay, document.AssessmentRollReport.district.value);
}
function filterDistrictList(){
	ClearList(document.AssessmentRollReport.district);
	FillList(document.AssessmentRollReport.district, district, document.AssessmentRollReport.municipalityCity.value);
	filterBarangayList();
}
function filterMunicipalityCityList(){
	ClearList(document.AssessmentRollReport.municipalityCity);
	FillList(document.AssessmentRollReport.municipalityCity, municipalityCity, document.AssessmentRollReport.province.value);
	filterDistrictList();
	filterBarangayList();
}

function ClearList(documentList){
	for(i = documentList.options.length-1 ; i >= 0 ; i--){
		documentList.options[i] = null;
	}
}

function FilterArray(arrayList, filter){
	filteredArray = new Array();
	j = 0;
	for(i=0 ; i< arrayList.length ; i++){
		singleArray = arrayList[i];
		if(singleArray[2]==filter){
			filteredArray[j] = new Option(singleArray[0], singleArray[1]);
			j++;
		}
	}
	return(filteredArray);
}

function FillList(documentList, arrayList, filter){
    arrayList = FilterArray(arrayList, filter);
	for(i = 0 ; i < arrayList.length ; i++){
		documentList.options[i] = arrayList[i];
	}
	if(documentList.options[0]){
		documentList.options[0].selected = true;
	}
}

function validateForm(){
	document.AssessmentRollReport.formAction.value = "view";
	document.AssessmentRollReport.submit();
}

function setDefaults(){
	filterMunicipalityCityList();
	filterDistrictList();
	filterBarangayList();
}

function openWin(strLink, strWindow, intLeft, intTop, intWidth, intHeight){
	window.open(strLink, strWindow, "position:absolute; left="+intLeft+", top="+intTop+", width="+intWidth+", height="+intHeight+", status=1, toolbar=0, menubar=1, scrollbars=1, resizable=1");
}

</script>







</head>
<body BGCOLOR=#999999 link="#333333" vlink="#333333" alink="#333333" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="setDefaults();">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> 
      <table WIDTH=100 BORDER=0 align="center" CELLPADDING=0 CELLSPACING=0>
        <tr> 
          <td> <img SRC="../images/inner_01.jpg" WIDTH=18 HEIGHT=9 ></td>
          <td> <img SRC="../images/inner_02.jpg" WIDTH=27 HEIGHT=9 ></td>
          <td COLSPAN=2> <img SRC="../images/inner_03.jpg" WIDTH=598 HEIGHT=9 ></td>
          <td COLSPAN=3 ROWSPAN=2 align="right" background="images/steps/step_bg.jpg"><img SRC="../images/steps/step00.jpg" WIDTH=157 HEIGHT=133 ></td>
        </tr>
        <tr> 
          <td> <img SRC="../images/inner_05.jpg" WIDTH=18 HEIGHT=124 ></td>
          <td> <img SRC="../images/inner_06.jpg" WIDTH=27 HEIGHT=124 ></td>
          <td COLSPAN=2 background="images/title/title_bg.jpg" bgcolor="#CCCCCC"> <img SRC="../images/title/title_assessorsModule.jpg" WIDTH=598 HEIGHT=124 ></td>
        </tr>

		<!-- start of navigation menu -->

        <tr> 
          <td> <img SRC="../images/inner_08.jpg" WIDTH=18 HEIGHT=53 ></td>
          <td> <img SRC="../images/inner_09.jpg" WIDTH=27 HEIGHT=53 ></td>
          <td COLSPAN=3 align="left" valign="top" background="images/nav/nav_b_08_bg.jpg" bgcolor="#CCCCCC"> 
            <table WIDTH=702 BORDER=0 CELLPADDING=0 CELLSPACING=0>
			   <tr> 
			    <td width="72"> <img SRC="../images/nav/nav_a_01.jpg" WIDTH=72 HEIGHT=53 ></td>
				<td background="../images/nav_area_bg.jpg">
					<table width="100%%" border="0" cellspacing="0" cellpadding="2">
					  <tr align="center"> 
					   <td width="0">
					    <a href="Reports.php{Session}" class="navi">Reports</a>
					   </td>
					   <td width="0" class="navi">|</td>
			           <td width="0">
						<a href="change/ODList.php{Session}" class="navi">Change Of Ownership <br>& Reassessment</a>
					   </td>
					   <td width="0" class="navi">|</td>
					   <td width="0">
						<a href="split/ODList.php{Session}" class="navi">Split <br>& Consolidation</a>
					   </td>
					   <td width="0" class="navi">|</td>
					   <td width="0">
						<a href="ODList.php{Session}" class="navi">OD List</a>
					   </td>
					   <td width="0" class="navi">|</td>
					   <td width="0">
						<a href="Logout.php" class="navi">Logout</a>
					   </td>
					  </tr>
				 </table>
			    </td>
				<td width="75"> <img SRC="../images/nav/nav_a_08.jpg" WIDTH=75 HEIGHT=53 ></td>
		       </tr>
			</table>
          </td>
          <td> <img SRC="../images/inner_11.jpg" WIDTH=36 HEIGHT=53 ></td>
          <td> <img SRC="../images/inner_12.jpg" WIDTH=17 HEIGHT=53 ></td>
        </tr>

		<!-- end of navigation menu -->
		
		<tr> 
          <td align="center" valign="top"> <img SRC="../images/inner_13.jpg" WIDTH=18 HEIGHT=375 ></td>
          <td background="../images/inner_14.jpg"> <img SRC="../images/spacer.gif" WIDTH=27 HEIGHT=1 ></td>
          <td COLSPAN=3 align="left" valign="top" background="../images/background/bg_middle.jpg" bgcolor="#CCCCCC"> 
            <table width="702" height="375" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td align="left" valign="top"> 
                  <table border="0" cellspacing="0" cellpadding="0" align="center">

		  <tr> 
		   <td align="left" valign="top" class="fields">

				<form name="AssessmentRollReport" action="AssessmentRollReport.php{Session}" method=get>
					<input type="hidden" name="rpts_Session" value="{rpts_Session}">
					<input type="hidden" name="formAction">
					<table border=0>
					 <tr>
					  <td class="fileds_comment" colspan=5>
					   <b>Assessment Roll Report</b>
					  </td>
					 </tr>
					 <tr> 
					  <td class="fileds_comment">
					   Province <br>
						<select name="province" style="font-size:10px; width=175;" 	onChange="filterMunicipalityCityList();">
						    <option value=""></option>
							<!-- BEGIN ProvinceList -->
							<option value = "{provinceID}" {province_sel}>{province}</option>
							<!-- END ProvinceList -->
					   </select>
					  </td>
					  <td class="fileds_comment">
						Municipality/City <br>
						<select name="municipalityCity" style="font-size:10px; width=175;" onChange="filterDistrictList();">
						    <option value=""></option>
							<!-- BEGIN MunicipalityCityList -->
							<option value = "{municipalityCityID}" 	{municipalityCity_sel}>{municipalityCity}</option>
							<!-- END MunicipalityCityList -->
					   </select> 
					  </td>
					  <td class="fileds_comment">
						District <br>
						<select name="district" style="font-size:10px; width=175;" onChange="filterBarangayList();">
						    <option value=""></option>
							<!-- BEGIN DistrictList -->
							<option value = "{districtID}" {district_sel}>{district}</option>
							<!-- END DistrictList -->
					   </select>
					  </td>
					  <td class="fileds_comment">
						Barangay <br>
						<select name="barangay" style="font-size:10px; width=175;">
						    <option value=""></option>
							<!-- BEGIN BarangayList -->
							<option value = "{barangayID}" {barangay_sel}>{barangay}</option>
							<!-- END BarangayList -->
						</select>
					  </td>
					  <td class="fileds_comment" valign="bottom">
						<input type="button" value="GO" onClick="validateForm();">
					  </td>
					 </tr>
					</table>		
				</form>
  
		   
		   </td>
		  </tr>

		  <!-- BEGIN NotFound -->

		  <tr>
			  <td align="center" valign="top" class="fields">
			   <b>{message}</b>
			  </td>
		  </tr>

		  <!-- END NotFound -->

		  <!-- BEGIN ReportStatistics -->

		  <tr>
			  <td valign=top class="fields" align=center>
				<table width="80%" border="0" cellpadding="4" cellspacing="1" bgcolor="#333333" class="fields">
					<tr>
						<td bgcolor="#DDDDDD" class="fields" colspan=2 align=center>
							ASSESSMENT ROLL REPORT  for <b>{barangay}</b> as of <b>{today}</b>:
						</td>
					</tr>
					<tr>
						<td bgcolor="#F6F6F6" class="fields" width="70%">
							Total Count:
						</td>
						<td bgcolor="#F6F6F6" class="fields" align=right>
							{totalEntries}
						</td>
					</tr>
					<tr>
						<td bgcolor="#F6F6F6" class="fields" width="70%">
							Last Print Attempt:
						</td>
						<td bgcolor="#F6F6F6" class="fields" align=right>
							{dateOfLastRPARPrintAttempt}
						</td>
					</tr>
					<tr>
						<td bgcolor="#F6F6F6" class="fields" width="70%">
							Record Count <b>until</b> Last Print Attempt:<br>
							<font size=1>(Beginning  - {dateOfLastRPARPrintAttempt})</font>
						</td>
						<td bgcolor="#F6F6F6" class="fields" align=right>
							{countUntilDateOfLastRPARPrintAttempt}
						</td>
					</tr>
					<tr>
						<td bgcolor="#F6F6F6" class="fields" width="70%">
							Record Count <b>since</b> Last Print Attempt:<br>
							<font size=1>({dateOfLastRPARPrintAttempt} - Today)</font>
						</td>
						<td bgcolor="#F6F6F6" class="fields" align=right>
							{countSinceDateOfLastRPARPrintAttempt}
						</td>
					</tr>

				</table>
			  </td>
		  </tr>

		  <tr>
			<td>&nbsp;</td>
		  </tr>

		  <tr>
			  <td valign=top class="fields" align=center>
				<table border=0 cellpadding=0 width="80%"><tr>
				
				<td>
				
				<table border="0" cellpadding="4" cellspacing="1" bgcolor="#333333" class="fields">
					<tr>
						<td bgcolor="#dddddd" class="fileds_comment" align=left valign=top nowrap>
							<table border=0 cellpadding=0 cellspacing=4>
							<tr>
								<td class="fields" valign=top>
									<input type="radio" style="background:#dddddd;"> PRINT Records after {dateOfLastRPARPrintAttempt}
									<br>
									<input type="radio" style="background:#dddddd;"> PRINT All Records from the beginning
									<br>
									<br>
									<input type="checkbox" style="background:#dddddd;"> Save Today's date as latest Print Attempt
									<br><br>
								</td>
							</tr>
							<tr>
								<td bgcolor="#dddddd" align="center" valign=top class="fields">
									<input type="button" value="PRINT" onClick="openWin('AssessmentRollReportPrint.php{Session}&formAction=view&province={provinceID}&municipalityCity={municipalityCityID}&district={districtID}&barangay={barangayID}', 'AssessmentRollReportPrint', 0, 0, 800, 600);">
								</td>
							</tr>
							</table>
						</td>
					</tr>
				</table>

				</td>

				<td>

					&nbsp;

				</td>

				</tr></table>
			 </td>
		  </tr>

		  <tr>
			<td>&nbsp;</td>
		  </tr>

		  <tr>

		  </tr>


		  <!-- END ReportStatistics -->

		  <!-- BEGIN Report -->

		  <tr>
		   <td align="center" valign="top"><table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="#333333" class="fields">
                          <tr bgcolor="#aaaaaa"> 
                            <td colspan="16" align="center" class="subtitle"><strong>A S S E S 
                              S M E N T&nbsp;&nbsp;R O L L </strong></td>
                          </tr>
                          <tr bgcolor="#F6F6F6"> 
                            <td colspan="16" align="center"><strong>As Of {date}</strong><strong></strong></td>
                          </tr>
                          <tr bgcolor="#F6F6F6"> 
							<td colspan="16" align="center">
								<table border=0 cellpadding=0 cellspacing=0 width="100%">
								<tr class="fields">
			                        <td colspan="3"><B>PROVINCE/CITY:</B> &nbsp;{province}</td>
				                    <td colspan="4"><B>MUNICIPALITY:</B> &nbsp;{municipalityCity}</td>
			                        <td colspan="5"><B>DISTRICT:</B> &nbsp;{district}</td>
			                        <td colspan="4" align="center"><B>BARANGAY:</B> &nbsp;                 {barangay}</td>
								</tr>
								</table>
							</td>
                          </tr>
                          <tr bgcolor="#DDDDDD"> 
                            <td rowspan="2" align="center"><B>PROPERTY OWNER</B></td>
                            <td rowspan="2" align="center"><B>PROPERTY INDEX NO.</B></td>
                            <td rowspan="2" align="center"><B>ARP&nbsp;NO.</B></td>
                            <td rowspan="2" align="center"><B>OWNER'S&nbsp;ADDRESS </B>
                              <B>&amp; Tel. Nos.</B></td>
                            <td rowspan="2" align="center"><B>KIND</B></td>
                            <td rowspan="2" align="center"><B>CLASS</B></td>
                            <td rowspan="2" align="center"><B>LOCATION OF PROPERTY</B></td>
                            <td rowspan="2" align="center"><B>Assessed 
                              Value</B></td>
                            <td rowspan="2" align="center"><B>Taxability</B></td>
                            <td rowspan="2" align="center"><B>Effectivity</B></td>
                            <td colspan="3" align="center"><B>C A N C E L S</B></td>
                            <td colspan="3" align="center"><B>CANCELLED BY</B></td>
                          </tr>
                          <tr bgcolor="#DDDDDD"> 
                            <td align="center">Update Code</td>
                            <td align="center">ARP NO.</td>
                            <td align="center">Assessed Value</td>
                            <td align="center">Update Code</td>
                            <td align="center">ARP No.</td>
                            <td align="center">Page REF</td>
                          </tr>
                          <!-- BEGIN ReportList -->
                          <tr bgcolor="#F6F6F6"> 
                            <td width="71" align="left" valign="top">
								{firstOwner}
                                {none}{andOthers}
							</td>
                            <td width="70" align="center" valign="top">
								{propertyIndexNumber}
							</td>
                            <td width="48" align="center" valign="top">
								{arpNumber}
							</td>
                            <td width="120" align="right" valign="top" class="fileds_comment">
								{firstOwnerAddress}
								<br>
								{firstOwnerTelephone}
								{andOthers}
							</td>
                            <td width="30" align="center" valign="top">
								{kind}
							</td>
                            <td width="39" align="center" valign="top">
								{class}
							</td>
                            <td width="65" align="right" valign="top" class="fileds_comment">
								<b>{locationAddress}</b>
							</td>
                            <td width="59" align="right" valign="top" class="fileds_comment">
								{assessedValue}
							</td>
                            <td width="50" align="center" valign="top">
								{taxability}
							</td>
                            <td width="49" align="center" valign="top">
								{effectivity}
							</td>
                            <td width="43" align="right" valign="bottom">&nbsp;</td>
                            <td width="27" align="right" valign="bottom">&nbsp;</td>
                            <td width="59" align="right" valign="bottom">&nbsp;</td>
                            <td width="43" align="right" valign="bottom">&nbsp;</td>
                            <td width="27" align="right" valign="bottom">&nbsp;</td>
                            <td width="32" align="right" valign="bottom">&nbsp;</td>
                          </tr>
                          <!-- END ReportList -->
                        </table></td>
		  </tr>

		  <!-- END Report -->
		  <tr> 
		   <td align="left" valign="top" class="fields">

		   <br><br><br><br>

		   &lt;&lt; <a href="Reports.php{Session}"><b>back to Reports</b></a>


		   
		   </td>
		  </tr>
		  <tr> 
		   <td align="center" valign="top" class="fileds_comment"> <br>
			<br>
			Tampering with this system is criminally punishable under Philippine 
			Laws.<br> &copy; Republic of the Philippines National Computer Center. 
			All Rights Reserved. </td>
		  </tr>
		 </table>
                </td>
              </tr>
            </table>
          </td>
          <td background="../images/inner_16.jpg"> <img SRC="../images/spacer.gif " WIDTH=36 HEIGHT=375 ></td>
          <td> <img SRC="../images/inner_17.jpg" WIDTH=17 HEIGHT=375 ></td>
        </tr>
        <tr> 
          <td> <img SRC="../images/inner_18.jpg" WIDTH=18 HEIGHT=39></td>
          <td> <img SRC="../images/inner_19.jpg" WIDTH=27 HEIGHT=39></td>
          <td background="images/inner_20_bg.jpg"> <img SRC="../images/inner_20.jpg" WIDTH=355 HEIGHT=39></td>
          <td background="images/inner_21_bg.jpg"> <img SRC="../images/inner_21.jpg" WIDTH=243 HEIGHT=39></td>
          <td background="images/inner_22_bg.jpg"> <img SRC="../images/inner_22.jpg" WIDTH=104 HEIGHT=39></td>
          <td> <img SRC="../images/inner_23.jpg" WIDTH=36 HEIGHT=39></td>
          <td> <img SRC="../images/inner_24.jpg" WIDTH=17 HEIGHT=39></td>
        </tr>
      </table>
    </td>
  </tr>
</table>

</body>
</html>